package cn.com.clearbus.mini.mapper;


import cn.com.clearbus.mini.entity.MiniUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liuwz
 * @since 2019-10-14
 */
@Mapper
public interface MiniUserMapper extends BaseMapper<MiniUser> {

    MiniUser getMiniUserByOpenId(@Param("openId") String openId);

    List<MiniUser> getAllMiniUser();
}
